package com.service.admin.otc.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OtcOrderPageRep {

    private Integer id;

    // 场外交易订单号
    private String otcNo;

    // 会员id
    private Integer memberId;

    private String memberAccount;

    private String memberName;

    // 售出(买入)数量
    private BigDecimal otcNum;

    // 售出(买入)单价
    private BigDecimal otcPrice;

    private BigDecimal otcResidueNum;

    private Integer otcType;

    private Integer otcStatus;

    // 售出(买入)货币id
    private Integer coinsId;

    // 售出(买入)货币名称
    private String coinsName;

    // 交易货币id
    private Integer tradeCoinsId;

    // 交易货币名称
    private String tradeCoinsName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
